package br.usp.ime.dojo.core.repositories;


import br.usp.ime.dojo.core.repositories.impl.memoria.ChatRepositoryInMemory;
import br.usp.ime.dojo.core.repositories.impl.memoria.DojoRoomRepositoryInMemory;
import br.usp.ime.dojo.core.repositories.impl.memoria.SessionRepositoryInMemory;
import br.usp.ime.dojo.core.repositories.impl.memoria.UserRepositoryInMemory;

public class RepositoryFactory {

	public static UserRepository createUserRepository() {
		return UserRepositoryInMemory.getInstance();
	}
	
	public static ChatRepository createChatRepository(){
		return ChatRepositoryInMemory.getInstance();
	}

	public static DojoRoomRepository createDojoRoomRepository() {
		return DojoRoomRepositoryInMemory.getInstance();
	}

	public static SessionRepository createSessionRepository() {
		return SessionRepositoryInMemory.getInstance();
	}
}
